﻿<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>@ViewBag.Title</title>
    <link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />
    <link href="../../Scripts/JQTree/themes/apple/style.css" rel="stylesheet" type="text/css" />
    <script src="../../Scripts/JS/jquery.js" type="text/javascript"></script>
    <script src="../../Scripts/JQTree/jquery.jstree.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(function () {
            $("table>tbody>tr").filter(":odd").addClass("odd"); //给奇数行添加odd样式
            /* 为链接加一个避免事件泡沫的公用方法 */
            $("a").click(function (e) {
                e.stopPropagation()
            });
            if ($("#main").height() > $(".left").height()) {
                $(".left").height($("#main").height());
                $("#main").height($("#main").height());
            }
            else {
                $("#main").height($(".left").height());
                $(".left").height($(".left").height());
            }
        });
    </script>
    @RenderSection("Head", false)
</head>
<body style="background-color: #ffaaaa">
    <div class="page">
        <div id="header">
            <div id="title">
                <h1>
                    CBMS,Thanks of Microsoft Corp.</h1>
            </div>
            <div id="logindisplay">
                @Html.Partial("_LogOnPartial")
            </div>
            <div id="menucontainer">
                @Html.Action("TopMenuTree", "Menu")
            </div>
        </div>
        <div class="left">
            @Html.Action("LeftMenuTree", "Menu")
        </div>
        <div id="main">
            @RenderBody()
        </div>
        <div class="clear">
        </div>
        <div id="footer">
            后台管理系统</div>
    </div>
</body>
</html>
